﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.Models
{
    /// <summary>
    /// ${table.comment}
    /// </summary>
    public partial class ${TableName}
    {

        <#list table.columns  as column>
          <#if column.columnType !="String" && column.isRequired =='false'>
           /// <summary>
           /// ${column.columnComment}
           /// </summary>
           public Nullable<${column.columnType}> ${column.columnName} { get; set; }
            <#else>
            /// <summary>
            /// ${column.columnComment}
            /// </summary>
            public ${column.columnType} ${column.columnName} { get; set; }
          </#if>
       </#list>

    }
}
